package com.eddy.entity;

/**
 * 响应
 */
public class DataEncrypt {
    private String data;//加密后的数据
    private String encrypt;//加密后的公钥
    private String flag;//执行结果

    public DataEncrypt(String data, String encrypt, String flag) {
        this.data = data;
        this.encrypt = encrypt;
        this.flag = flag;
    }

    public DataEncrypt() {
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getEncrypt() {
        return encrypt;
    }

    public void setEncrypt(String encrypt) {
        this.encrypt = encrypt;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "DataEncrypt{" +
                "data='" + data + '\'' +
                ", encrypt='" + encrypt + '\'' +
                ", flag=" + flag +
                '}';
    }
}
